<!DOCTYPE html PUBLIC 
	"-//W3C//DTD XHTML 1.1 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib uri="/WEB-INF/tld/sitemesh/sitemesh-decorator.tld" prefix="decorator" %>
<%@ taglib uri="/WEB-INF/tld/sitemesh/sitemesh-page.tld" prefix="page" %>
<%@ taglib uri="/WEB-INF/tld/struts/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/tld/struts/struts-html.tld" prefix="html"%>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
		<title><decorator:title default="Struts Starter"/></title>
		<html:base/>
	    <link href="styles/main.css" rel="stylesheet" type="text/css" media="all">
	    <decorator:head/>
    </head>
    <body id="page-home">
        <div id="page">
            <div id="header" class="clearfix">
               <div class="h_title">Welcome to Chidopi</div> <hr />
            </div><!-- end header -->
            
            <div id="content" class="clearfix">
                               
                <!-- div id="sub">
                	<h3>Sub</h3>
                    <hr />
                </div> -->
                
                <div id="local">
                	<h3></h3>                	
                	<page:applyDecorator page="/main.do" name="panel" />
                	<div id="menu_logout">
                	    <a href="j_spring_security_logout">系統退出</a>
                	</div>
                    <hr />
                </div>
                
                <!-- div id="nav">
                	<h3></h3>                	
                    <hr />
                </div>-->
                
                 <div id="main">
                	<h3></h3>
                	<div id="error" style="position:relative;top:1px;">
					    <html:errors/>
					</div>
					<div id="message" style="">
					    <html:messages id="message" message="true" >
							<bean:write name="message" />
						</html:messages>
					</div>
                	<decorator:body/>
                    <hr />
                </div>
            </div><!-- end content -->
            
            <div id="footer" class="clearfix">
              Copyright©2011 Chidopi.
            </div><!-- end footer -->
            
        </div><!-- end page -->
        
        <div id="extra1">&nbsp;</div>
        <div id="extra2">&nbsp;</div>
    </body>
</html>